const Ajax = window.ajaxbusinessAssets;
const planAjax = window.ajaxFinancialplan;
// export const collapseData1 = [
//   {
//     chargeItemGroup:'1',
//     title:'资本性支出',
//   },
//   {
//     chargeItemGroup:'2',
//     title:'常规物业费',
//   },
//   {
//     chargeItemGroup:'3',
//     title:'能耗',
//   },
//   {
//     chargeItemGroup:'4',
//     title:'市场运营费',
//   },
// ]
// export const collapseData = [
//   {
//     chargeItemGroup: '1',
//     chargeItemTypeName: "商铺(权责口径)",
//   },
//   {
//     chargeItemGroup: '3',
//     chargeItemTypeName: "写字楼租金收入（权责口径）",
//   },
//   {
//     chargeItemGroup: '4',
//     chargeItemTypeName: "其他可租资产租金收入（权责口径）",

//   },
//   {
//     chargeItemGroup: '2',
//     chargeItemTypeName: "共享空间资产租金收入（权责口径）",

//   },
//   {
//     chargeItemGroup: '5',
//     chargeItemTypeName: "广告位租金收入（权责口径）",

//   },
//   {
//     chargeItemGroup: '6',
//     chargeItemTypeName: "停车场租金收入（权责口径）",

//   },
//   {
//     chargeItemGroup: '7',
//     chargeItemTypeName: "活动（权责口径）",
//     isAdd: true,
//   },
//   {
//     chargeItemGroup: '8',
//     chargeItemTypeName: "无人设备（权责口径）",
//     isAdd: true,
//   },
//   {
//     chargeItemGroup: '9',
//     chargeItemTypeName: "其他（权责口径）",
//     isAdd: true,
//   },
// ]
//资源包导航条
export const apiBasicPackageResourceList = (params) => Ajax.request(`/v1/basic/package/resource/list`, 'post', params, {
    showLoading: true
  });
//资源列表
export const apiBasicPackageList = (params) => Ajax.request(`/v1/basic/package/list`, 'post', params, {
  showLoading: true
});

//本财年计划与上一年执行对比
export const apiForecastCashFlow = (params) => planAjax.request(`/v1/business/plan/forecastCashFlow`, 'post', params, {
  showLoading: true
});

//财务表现预测
export const apiFinancialPerformance = (params) => planAjax.request(`/v1/business/plan/forecast/financialPerformance`, 'post', params, {
  showLoading: true
});

//计划执行-收入详情-经营活动收入
export const apiExecuteChargeIncome = (params) => planAjax.request(`/v1/business/statistics/charge/income`, 'post', params, {
  showLoading: true
});

//计划执行-收入详情-经营活动收入
export const apiExecuteChargePayment = (params) => planAjax.request(`/v1/business/statistics/charge/payment`, 'post', params, {
  showLoading: true
});

// 项目执行结果及预测  左面的 事项list
export const apiListGroupBizType = (params) => planAjax.request(`/v1/business/charge/item/biz/map/listGroupBizType`, 'post', params, {
  showLoading: true
});

// 利润底表
export const apiAccountingYearTree = (params) => planAjax.request(`/v1/business/expenditure/accounting/subjectTree`, 'post', params, {
  showLoading: true
});

// 利润底表
export const apiAccountingMonthTree = (params) => planAjax.request(`/v1/business/expenditure/accounting/executionSubjectTree`, 'post', params, {
  showLoading: true
});

// 现金流底表-月度
export const apiAccountingMonthNewTree = (params) => planAjax.request(`/v1/business/cashflow/month/view`, 'post', params, {
  showLoading: true
});

// 查资产包 项目
export const apiAssetPackageProject = (params) => planAjax.request(`/v1/basic/assetpackage/assetpackage/groupAssetPackageAndProject`, 'post', params, {
  showLoading: true
});